package com.lp.model.constants;

import org.springframework.scheduling.support.SimpleTriggerContext;

/**
 * 搜索常量
 */
public class ESConstants {

    //索引库名: 文章
    public static final String INDEX_ARTICLE = "article";
    public static final String INDEX_USER = "user";

    //字段: all
    public static final String ARTICLE_ALL = "all";
    public static final String USER_NICKNAME = "nickname";

    //自动补全字段(通过哪个字段进行自动补全)
    public static final String SUGGESTION = "suggestion";
    //文章自动补全
    public static final String ARTICLE_SUG = "articleSug";
    //文章自动补全长度
    public static final Integer ARTICLE_SUG_SIZE = 10;

}